var api = {
  // 众筹看好
  goodAdd: "/api/crowdCollect/add/", //添加众筹看好
  goodList: "/api/crowdCollect/list", //查询用户看好列表(分页)
  goodRemove: "/api/crowdCollect/remove/", //取消众筹看好

  // 商城订单
  mallcancel: "/api/mallOrder/cancel/", //取消订单
  mallcartSubmit: "/api/mallOrder/cartSubmit", //购物车提交订单
  mallchooseAddress: "/api/mallOrder/chooseAddress/", //选择订单地址计算邮费
  mallconfirmOrder: "/api/mallOrder/confirmOrder/", //小程序支付通知回调
  mallconfirmSign: "/api/mallOrder/confirmSign/", //确认收货
  malldelete: "/api/mallOrder/delete/", //删除订单
  malldetails: "/api/mallOrder/details/", //查询订单详情
  malllist: "/api/mallOrder/list", //查询订单列表
  mallmodifyAddress: "/api/mallOrder/modifyAddress/", //修改订单地址
  mallprepay: "/api/mallOrder/prepay", //预支付
  mallqueryExpress: "/api/mallOrder/queryExpress", //查询第三方物流信息
  mallstatus: "/api/mallOrder/status", //订单状态统计
  mallsubmit: "/api/mallOrder/submit", //立即购买订单
  mallBatchOrder: "/api/mallOrder/batchOrder", //获取批次订单
  mallCancelMore: "/api/mallOrder/cancel", //按照批次号取消订单

  // 预售订单
  presaletcancel: "/api/presaleOrders/cancel/", //取消订单
  presaletchooseAddress: "/api/presaleOrders/chooseAddress/", // 计算邮费
  presaletconfirmOrder: "/api/presaleOrders/confirmOrder/", // 小程序支付通知回调
  presaletconfirmSign: "/api/presaleOrders/confirmSign/", // 确认收货
  presaletdelete: "/api/presaleOrders/delete/", //删除订单
  presaletSubmit: "/api/presaleOrders/submit", // 提交订单
  presaleEndSubmit: "/api/presaleOrders/endSubmit", // 提款订单
  presaletPrepay: "/api/presaleOrders/prepay", // 预支付
  presaletList: "/api/presaleOrders/list", // 订单列表
  presaletdetail: "/api/presaleOrders/details/", //查询订单详情
  presaletmodifyAddress: "/api/presaleOrders/modifyAddress/", // 修改订单地址
  updatePhone: "/api/presaleOrders/updatePhone", // 修改手机号
  payEndAll: "/api/presaleOrders/payEndAll/", // 查询待付尾款列表
  endAllSubmit: "/api/presaleOrders/endAllSubmit", // 尾款订单合单支付

  //预售动态更新
  renewList: "/api/renew/list", // 更新列表
  renewDetail: "/api/renew/detail", // 更新详情
  renewAgree: "/api/renew/agree/", // 更新点赞
  renewDeleteAgree: "/api/renew/deleteAgree/", // 更新取消点赞

  // 预售评论
  goodsTrends: '/api/trend/goodsTrends', // 预售评论列表
  trendAdd: "/api/trend/add", // 新增讨论
  trendGFoodsComments: "/api/trend/goodsComments", // 主题讨论回复
  trendAddComment: "/api/trend/addComment", // 回复他人评论
  trendAgree: "/api/trend/agree/", // 评论点赞
  trenDdeleteAgree: "/api/trend/deleteAgree/", // 评论取消点赞
  trendDel: "/api/trend/delete/", // 删除评论

  //售后
  mallAddSales: "/api/sales/mallAdd", //商城申请售后

  // 评价
  commentAdd: "/api/comment/add", //新增评论
  commentList: "/api/comment/list", //查询评论列表

  // 消息
  msgindex: "/api/messages/index", //查询系统消息首页
  msglist: "/api/messages/list", //查询用户消息(分页)
  msgread: "/api/messages/readMessage", //全部标记为已读

  // 购物车
  carAdd: "/api/cart", //新增购物车商品
  carDeletes: "/api/cart/batchDelete/", //批量删除购物车商品
  carDelete: "/api/cart/delete/", //删除购物车商品
  carProduct: "/api/cart/product/", //查询商品规格
  carList: "/api/cart/userList", //查询购物车商品列表

  // 查询用户信息
  vipUserInfo: "/api/vipUserInfo",
  vipLevleList: "/api/vipLevel/list", // 会员等级信息

  // 签到
  sign: "/api/sign", //签到

  // 积分
  bill: "/api/growth/bill", //积分明细

  // 优惠券
  couponList: "/api/couponUser/list", //优惠券列表

  // banner
  invite: "/api/banner/invite", // 我的页面邀请

  // 是否登录
  isLogin: "/api/isLogin",
  userMessage: "/api/api/userMessage",

  // 完善头像昵称
  complete: "/api/complete", // 完善用户信息

}

module.exports = {
  api
}